package com.java.service.Impl;

import com.java.Exception.MyException;
import com.java.dao.queryFlightNo;
import com.java.entity.FlightInformation;
import com.java.service.queryFlightByNoService;

import java.sql.SQLException;
import java.util.List;

public class queryFlightByNoImpl implements queryFlightByNoService {
    queryFlightNo queryFlightNo=new com.java.dao.Impl.queryFlightNoImpl();


    @Override
    public List<FlightInformation> queryFlightByNo(String airlineNo ) throws SQLException , MyException {
        List<FlightInformation> FlightList=queryFlightNo.queryFlight(airlineNo);
        return FlightList;
    }
}
